<?php /* @var $this View */ ?>
<?php $this->Html->script('jwplayer', array('inline' => false)); ?>
<?php $this->Html->css('jplayer', null, array('inline' => false)); ?>
<div id="jwplayer_container"><?php echo __('Loading the player ...'); ?></div>
<script type="text/javascript">
    jwplayer("jwplayer_container").setup({
        flashplayer: "<?php echo $this->Html->webroot('files/player.swf'); ?>",
        file: "<?php echo $this->Html->webroot('upload/video.mp4'); ?>",
        height: 270,
        width: 480,
        skin: "<?php echo $this->Html->webroot('files/whotube.zip'); ?>"
    });
</script>
<a onclick="closePopup(test());">close</a>